package com.xdxc.entity;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xdxc.utils.LongListToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CorrectAnswerVo implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId;
    private List<String> optionIds;  // Assuming JSON stores an array of numbers
    private Boolean judgmentAnswer;
    private List<String> fillKeywords; // Assuming JSON stores an array of strings
    private Integer answerVersion = 1;

}
